<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;

class homeabController extends Controller
{
    //查询数据
    public function index()
    {

        $res = DB::select('select `id`,`a_icon`,`a_name`,`a_tag`,`a_module`,`a_display` from `about`');

        //var_dump($res);

        return view('home/about/about',['res' => $res]);

    }


}
